<?php

if(YII_ENV == 'prod')
{
	return [
			'class' => 'yii\db\Connection',
			'dsn' => 'mysql:host=rm-uf6hm09c3a8l2wuago.mysql.rds.aliyuncs.com;dbname=bc_zhishimama',
			'username' => 'zhishimama',
			'password' => 'zhishimama',
			'charset' => 'utf8',
			'tablePrefix' => 'bc_',
	];
}
else 
{
	return [
			'class' => 'yii\db\Connection',
			'dsn' => 'mysql:host=rm-uf6hm09c3a8l2wuago.mysql.rds.aliyuncs.com;dbname=bc_zhishimama_test',
			'username' => 'zhishimama',
			'password' => 'zhishimama',
			'charset' => 'utf8',
			'tablePrefix' => 'bc_',
	];
}




